package com.k2data.k2app.domain;

import lombok.Data;

import java.time.LocalDate;
import java.time.ZonedDateTime;
import java.util.List;

/**
 * @author lidong9144@163.com 17-3-20.
 */
@Data
public class DeviceCond {

    private Long id;
    private Long groupId;
    private Long deviceId;
    private Long tDeviceId;
    private Long customerId;
    private Long monitorPointId;
    private Long variableId;
    private String customerNo;
    private Long rootId;

    private String location;
    private String industry;
    private String customerType;
    private String dataSource;
    private String owner;
    private String groupName;
    private String groupNo;
    private String customerName;

    private LocalDate startDate;
    private LocalDate endDate;
    private ZonedDateTime startDateTime;
    private ZonedDateTime endDateTime;

    private String labelLike;

    private Integer isRoot;

    private Integer faultLimit;
    private String faultType;
    private List<String> faultTypes;

    private String province;
    private String city;
    private String district;

    private String[] qs;
    private String kmxValue;

    private Integer channelId;
    private Long sensorId;
    private String sensorType;
    private Integer type;

    private String deviceNo;
    private Integer level;
    private Long userId;
    private String nameEn;
    private Long tVariableId;
    /**
     * 测点的默认指标
     */
    private String defaultVariable;
    /**
     * 状态
     */
    private String status;


    private String orderBy = "customer_no";
    private String orderType = "";

}
